from selenium import webdriver

firefox=webdriver.Firefox()

firefox.get('http://www.dongqiudi.com')

firefox.save_screenshot('dongqiudi.png')

html=firefox.page_source
print(html)

firefox.quit()






